
package com.test;

import java.io.Serializable;


public class SMILTextComponent extends SMILComponent implements Serializable
{
    private static final long serialVersionUID = 1L;
    private int xPos;
    private int yPos;
    private String text;


    public static SMILTextComponent create()
    {
        SMILTextComponent comp = new SMILTextComponent(SMILComponent.TYPE_TEXT);
        return comp;
    }


    private SMILTextComponent(int type)
    {
        setType(type);
    }


    /**
     * @return the xPos
     */
    public int getxPos()
    {
        return xPos;
    }


    /**
     * @param xPos the xPos to set
     */
    public void setxPos(int xPos)
    {
        this.xPos = xPos;
    }


    /**
     * @return the yPos
     */
    public int getyPos()
    {
        return yPos;
    }


    /**
     * @param yPos the yPos to set
     */
    public void setyPos(int yPos)
    {
        this.yPos = yPos;
    }


    /**
     * @return the text
     */
    public String getText()
    {
        return text;
    }


    /**
     * @param text the text to set
     */
    public void setText(String text)
    {
        this.text = text;
    }
}
